From 1847d666d158d57a56db243434179a2f28e1a0ee Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 2 Apr 2009 12:40:44 +0100 Subject: [PATCH] xm: allow space characters in a vscsi definition. Signed-off-by: Masaki Kanno --- tools/python/xen/xm/create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xm/create.py b/tools/python/xen/xm/create.py index ec73cf0cdc..61655ea61c 100644 --- a/tools/python/xen/xm/create.py +++ b/tools/python/xen/xm/create.py @@ -1081,7 +1081,7 @@ def preprocess_vscsi(vals): if not vals.vscsi: return scsi = [] for scsi_str in vals.vscsi: - d = scsi_str.split(',') + d = [tmp.strip() for tmp in scsi_str.split(',')] n = len(d) if n == 2: tmp = d[1].split(':') -- 2.30.2